<?LassoScript


	rows: -inlinename=(Var: ($rewAction + '_Table'));
			if: loop_count == 1;
					'\r\r<ol class="results-listing" >\r\r';
					/*
					iterate: $tableColumns, var: 'a_map';
							'\r\t<th>';
									var: 'a_label' = $a_map->Find('label');
									var: 'a_column' = $a_map->Find('shortName');
									var: 'a_sortOn' = $a_map->Find('sortOn');

									if: $a_sortOn;
											If: $SortField == $a_Column;
													'<span class="sortedOn">';
															Select: $sortOrder;
																	Case: 'ASC';
																			'<a href="' (response_path)'?SortField=' + $a_Column + '&amp;SortOrder=DESC" title="Sort on this field.">';
																					($a_Label + '<strong>&nbsp;&$8593;</strong>');
																			'</a>';
																	Case: 'DESC';
																			'<a href="' (response_path)'?SortField=' + $a_Column + '&amp;SortOrder=ASC" title="Sort on this field.">';
																					($a_Label + '<strong>&nbsp;&$8595;</strong>');
																			'</a>';
																	Case;
																			('<a href="' (response_path)'?SortField=' + $a_Column + '&amp;SortOrder=ASC" title="Sort on this field.">');
																					$a_Label;
																			'</a>';
															/Select;
													'</span>';
											Else;
													'<span>';
															'<a href="' (response_path)'?SortField=' + $a_Column + '&amp;SortOrder=ASC">';
																	$a_Label;
															'</a>';
													'</span>';
											/If;
									else;
											$a_label;
									/if;
							'</th>\r';
					/iterate;
					*/
			/if;
			var: 'rowClass' = 'alt';
			If((Loop_Count) % 2);
					$rowClass = 'normal';
			/If;
			
			
			
			'\r\r\r<li class="' $rowClass '">';
			iterate: $tableColumns, var: 'a_map';
							var: 'type' = $a_map->Find('type');
							var: 'input' = $a_map->Find('input');
							var: 'linkOn' = $a_map->Find('linkOn');
							var: 'shortName' = $a_map->Find('shortName');
							var: 'tagToRun' = $a_map->Find('tagToRun');
							var: 'linkUID' = $a_map->Find('linkUID');
							var: 'td_align' = $a_map->Find('td_align');
							var: 'td_class' = $a_map->Find('td_class');
							var: 'td_id' = $a_map->Find('td_id');
					'\r\r\t\t<span class="' + ($td_class) + '">';
							select: $type;
									case:'pageBlock';
											include: var('my_' $a_map->find('fileName'));
									case:'field';
											if: $linkOn == true;
													'<a href="' $a_map->Find('linkTo') (field($linkUID)) '">';
													if: $tagToRun != '';
															//run(-name=$displayAs);
															(\$tagToRun->(invoke: field($shortName)));
													else;
															(Field:$shortName) ;
													/if;
													'</a>';
											else;
													if: $tagToRun != '';
															//run(-name=$displayAs);
															(\$tagToRun->(invoke: field($shortName)));
													else;
															(Field:$shortName) ;
													/if;
											/if;
									case:'special';
									
// 											Summit_CoDisplay('Hi','flickerbulb.com');
											if: $tagToRun != '';
													//run(-name=$displayAs);
													var('out'=array);
													iterate($input, var('a_field'));
															$out->insert($a_field);
													/iterate;
// 													$out;
													(\$tagToRun->invoke);
// 													(\$tagToRun->(invoke: -params=$out));
											else;
													(Field:$shortName) ;
											/if;
									case:'var';
											if: $linkOn == true;
													'<a href="' $a_map->Find('linkTo') (field($linkUID)) '">';
													if: $tagToRun != '';
															//run(-name=$displayAs);
															(\$tagToRun->(invoke: field($shortName)));
													else;
															(Field:$shortName) ;
													/if;
													'</a>';
											else;
													if: $tagToRun != '';
															//run(-name=$displayAs);
															(\$tagToRun->(invoke: var($shortName)));
													else;
															(Field:$shortName) ;
													/if;
											/if;
									case:'var';
											if: $linkOn == true;
													'<a href="' $a_map->Find('linkTo') (field($linkUID)) '">';
													if: $tagToRun != '';
															//run(-name=$displayAs);
															(\$tagToRun->(invoke: field($shortName)));
													else;
															(Field:$shortName) ;
													/if;
													'</a>';
											else;
													if: $tagToRun != '';
															//run(-name=$displayAs);
															(\$tagToRun->(invoke: var($shortName)));
													else;
															(Field:$shortName) ;
													/if;
											/if;
							/select;
					'</span>';
			/iterate;
			'</li>';
			if: loop_count == shown_count && found_count != 0;
					'</ol>';
			/if;
	/rows;





?>